package com.xiaoshuidi.cloud.module.finance.controller.app.invoice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Schema(description = "租客 APP - 开票 Request VO")
@EqualsAndHashCode
@Data
public class AppFinanceInvoiceApplyReqVO {
    @Schema(description = "账单id")
    @NotNull(message = "账单id不能为空")
    private Long orderId;
    @Schema(description = "开票费用类型1租金2其它")
    @NotNull(message = "开票费用类型不能为空")
    private Integer invoiceFeeType;
    @Schema(description = "开票账单明细id")
    @NotNull(message = "账单费用明细id不能为空")
    @Size(min = 1, message = "账单费用明细id不能为空")
    private List<Long> feeDetailIds;
    @Schema(description = "发票抬头")
    @NotNull(message = "发票抬头不能为空")
    private String title;
    @Schema(description = "email")
    private String email;
    @Schema(description = "手机号")
    private String mobile;
}
